﻿using System;


namespace advadev.CanOpen
{

    /// <summary>
    /// Represents a layer setting services activate bit timing parameters
    /// message received event argument
    /// </summary>
    public class LayerSettingServicesActivateBitTimingParametersMessageReceivedEventArgs
    {

        /// <summary>
        /// Initializes a new instance of the
        /// LayerSettingServicesActivateBitTimingParametersMessageReceivedEventArgs
        /// class by the given parameter
        /// </summary>
        /// <param name="switchDelay">
        /// Switch delay
        /// </param>
        public LayerSettingServicesActivateBitTimingParametersMessageReceivedEventArgs(UInt16 switchDelay)
        {
            SwitchDelay = switchDelay;
        }


        /// <summary>
        /// Gets the received switch delay
        /// </summary>
        public UInt16 SwitchDelay
        {
            get;
            private set;
        }

    }

}
